package com.cnap.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 文件配置类，用于配置分片上传
 *
 * @author xc
 **/
@Configuration
public class FileConfig {

    @Value("${file.path}")
    private String path;

    /**
     * get
     *
     * @return Path
     */
    public String getPath() {
        return path;
    }

    /**
     * set
     *
     * @param path path
     */
    public void setPath(String path) {
        this.path = path;
    }
}
